home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Environments
/
MacMETH 3.2.4
/
Examples
/
Out.MOD
< prev
next >
Wrap
Text File
|
1996-06-20
|
481b
|
30 lines
IMPLEMENTATION MODULE Out;
IMPORT InOut;
PROCEDURE Open;
BEGIN InOut.OpenOutput("");
END Open;
PROCEDURE Char(ch: CHAR);
BEGIN InOut.Write(ch)
END Char;
PROCEDURE String(str: ARRAY OF CHAR);
BEGIN InOut.WriteString(str)
END String;
PROCEDURE Real(x: REAL; n: INTEGER);
BEGIN InOut.WriteReal(x, n)
END Real;
PROCEDURE Int(i, n: LONGINT);
BEGIN InOut.WriteLongInt(i, SHORT(n))
END Int;
PROCEDURE Ln;
BEGIN InOut.WriteLn
END Ln;
END Out.